package com.yyy.repository;

import com.yyy.entity.TicketInfo;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;
import org.springframework.data.domain.Slice;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;

import java.util.Date;
import java.util.List;

public interface TicketInfoReposity extends BaseRepository<TicketInfo, Integer> {
    List<TicketInfo> findByCreateTimeLessThanEqual(final Date start, final Pageable page);
}
